<template>
    <div>
        <van-tabbar value="1" active-color="#07c160" route>
                <van-tabbar-item to="/" icon="home-o">首页</van-tabbar-item>
                <van-tabbar-item to="/publish" icon="add-o" >发布</van-tabbar-item>
                <van-tabbar-item to="/my" icon="manager-o" >我的</van-tabbar-item>
            </van-tabbar>
    </div>
</template>
<script>
import { Tabbar ,TabbarItem} from 'vant';
export default {
    name:"tabBar",
     components:{
        [Tabbar.name]:Tabbar ,
        [TabbarItem.name]:TabbarItem,
    },
    data() {
        return {
            
        };
    },
};
</script>